package com.brillilab.service.core.instrument;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.brillilab.domain.po.instrument.InstrumentAppointment;
import com.baomidou.mybatisplus.core.toolkit.support.Property;

import java.util.List;

/**
 * <p>
 * 仪器预约 服务类
 * </p>
 *
 * @author WuMenghao
 * @since 2019-06-12
 */
public interface IInstrumentAppointmentService{

    List<InstrumentAppointment> selectTopThree(Long instrumentId,Integer... states);

    List<InstrumentAppointment> selectList(Long instrumentId,Integer... states);

    int updateById(InstrumentAppointment appointment);

    InstrumentAppointment selectById(Long id);

    int insert(InstrumentAppointment appointment);

    IPage<InstrumentAppointment> selectPage(Integer pageNum,Integer pageSize,LambdaQueryWrapper<InstrumentAppointment> entityWrapper);

    int selectCount(LambdaQueryWrapper<InstrumentAppointment> entityWrapper);

}
